<?php
include '../dbconfig/config.php';
include '../dbconfig/opendb.php';
include '../util/dbutil.php';
function getpepbrower($pre) {
?>

<h3><u>Phosphopeptide BLAST Browser</u></h3>
            <table>
            <tr><td>		
                <form method="post" action="<?php echo $pre; ?>/pepbrowser_action.php">
		<table border="0" cellspacing="0" cellpadding="0" >
			<tr><td>
                                <table width="100%">
                                      <tr><td>Input sequence only or fasta format (<u>one protein sequence each time</u>):</td>
                                          <td align="right"><a href="<?php echo $pre; ?>/pepbrowser_example.php">examples</a></td>
                                      </tr>
                                </table>
                        </td></tr>
                        <tr><td><textarea name="seq" cols="80" rows="8"></textarea></td></tr>

                        <tr><td>
                           <table>
                                <tr><td>Against organism:</td>
                                <td colspan="2">&nbsp;&nbsp;
                                    <select name="org" size="1">
                                                <option value="0">All</option>
                                                <?php
                                                        getOrganismSelect();
                                                ?>
                                    </select>
                                </td>
                                </tr>
                                <tr><td>Against research group or reference:</td>
                                <td colspan="2">&nbsp;&nbsp;
                                    <select name="ref" size="1">
                                                <option value="0">All</option>
                                                <?php
                                                        getDataSourceSelect();
                                                ?>
                                    </select>
                                </td>
                                </tr>
 
                                <tr><td>E-value threshold:</td>
                                <td>&nbsp;&nbsp;
                                    <select name="evalue" size="1">
                                                <option>10e-100</option>
                                                <option>10e-10</option>
                                                <option>10e-5</option>
                                                <option>0.001</option>
                                                <option>0.01</option>
                                                <option>0.1</option>
                                                <option>1</option>
                                                <option>10</option>
                                                <option SELECTED>100</option>
                                                <option>1000</option>
                                                </select>
                                </td>
                                <td>&nbsp;&nbsp;<input name="blast" type="submit" id="blast" value="Submit"></td>
                                </tr>
                           </table>
                        </td></tr>
                </table>
		</form>                
            </td></tr>
            
            </table>
<?php
}
?>
